The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:JSPL perl hash"

PerlHash - Encapsulate a perl HASH in JavaScript space River stage zero No dependents

SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC

JSPL - A bridge between JavaScript and Perl languages River stage zero No dependents

For use JavaScript from Perl with this module, you normally follow three simple steps: * Create a context inside which you'll be able to evaluate javascript code. The context holds a *global object* with javascript's standard constructors and functio...

SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC

JSPL::PerlClass - Create native JavaScript classes in Perl River stage zero No dependents

SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC

JSPL::Object - Reference to a JavaScript Object River stage zero No dependents

Besides primitives everything else in JavaScript is an object. This class (or one of its subclasses) encapsulate a *reference* to them. $adate = $ctx->eval(' new Date() '); print ref $adate; # 'JSPL::Object' print $adate->toString; # Today date...

SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC

JSPL::Context - An object in which we can execute JavaScript River stage zero No dependents

To interact with the SpiderMonkey JavaScript engine you need a JSPL::Context instance. To create one you can use the method "create_context" in JSPL::Runtime or obtain the "stock" one with "stock_context" in JSPL....

SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC
5 results (0.044 seconds)